﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CrmApplication.Models;

namespace CrmApplication.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            UserModels userInfo = Session["user"] as UserModels;
            ViewData["AccesLevel"] = userInfo.AccessLevel;            
            return View();
        }
		       
    }
}
